package com.wxapp.admin.api.pojo.vm.company;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wxapp.common.constant.base.IBaseResponse;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @author: lgl
 * @Description 我的公司封装类
 * @Datetime 2022-06-02 09:21:15
 * @Modified By
 */
@Data
@Schema(description = "我的公司")
public class PBaseVm extends IBaseResponse implements Serializable {


    /**
     * 公司名称
     */
    @Schema(description = "公司名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    /**
     * 公司地址
     */
    @Schema(description = "公司地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String address;

    /**
     * 公司电话
     */
    @Schema(description = "公司电话", requiredMode = Schema.RequiredMode.REQUIRED)
    private String phone;

    /**
     * 公司口号
     */
    @Schema(description = "公司口号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String slogan;
    /**
     * 公司创建时间
     */
    @Schema(description = "公司创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate cTime;
    /**
     * 客户端默认公司
     */
    @Schema(description = "客户端默认公司", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean defaulted;

    /**
     * 公司介绍
     */
    @Schema(description = "公司介绍", requiredMode = Schema.RequiredMode.REQUIRED)
    private String introduction;

    /**
     * 省
     */
    @Schema(description = "省")
    private String province;
    /**
     * 市
     */
    @Schema(description  = "市")
    private String city;
    /**
     * 区
     */
    @Schema(description  = "区")
    private String district;
}

